# 打印乘法表
for i in range(1,10): #遍历1~9行
    j = 1
    for j in range(1, i + 1):  #每一行从1遍历到列数i，第i行有i个式子
        print(f"{j} * {i} = {i * j}\t",end='')
        j += 1
    print()
